# -*- encoding=utf8 -*-
__author__ = "Simon"

from airtest.core.api import *


from poco.drivers.unity3d import UnityPoco
poco = UnityPoco()
# import sys
# sys.path.append("..")
using("../main.air")
import main

# from resolution import x,y

# auto_setup(__file__)

def guild2():
    #获取旋转后的分辨率
    x,y=device().get_current_resolution()
    main.sheet_entry(x,y)
    sleep(2)
    main.guild_entry(x,y)
    sleep(2)
    touch([0.02*x,0.4*y],times=3)
    sleep(2)
    touch([0.25*x,0.65*y])
    sleep(2)
    touch([0.88*x,0.37*y])
    sleep(2)
    touch([0.02*x,0.4*y],times=3)
    sleep(2)
    main.sheet_entry(x,y)
    sleep(2)